+2005-08-15 Øyvind Kolås <pippin@gimp.org>
+
+ * Makefile-mini: compile both the nop and introspect programs by
+ default.
+ * babl/Makefile-mini: link with standard math library
+
2005-08-14 Øyvind Kolås <pippin@gimp.org>
* tests/float_to_u8.c
# introspection/sanity tests, will not build an actual library
all:
- make -f Makefile-mini -C babl ../tests/nop
+ make -f Makefile-mini -C babl
tests/nop
introspect:
make -f Makefile-mini -C babl ../tests/introspect
default: $(TARGETS)
-CFLAGS = -Wall -Werror -g -O1 -I./babl-base -I. -I..
+CFLAGS = -Wall -Werror -g -O0 -I./babl-base -I. -I..
+LDADD = -lm
BABL_OBJECTS= \
babl.o \
../tests/nop: ../tests/nop.c $(BABL_OBJECTS)
- gcc -o $@ $< $(BABL_OBJECTS) -I../babl/
+ gcc -o $@ $< $(BABL_OBJECTS) -I../babl/ $(LDADD)
../tests/introspect: ../tests/introspect.c $(BABL_OBJECTS)
- gcc -o $@ $< $(BABL_OBJECTS) -I../babl/
+ gcc -o $@ $< $(BABL_OBJECTS) -I../babl/ $(LDADD)
clean:
rm -f $(TARGETS) $(BABL_OBJECTS) ../*~ ../*/*~ ../*/*~